Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Feb 13, 2025

Screenshot 2025-02-13 at 6 07 46 PM

Screenshot 2025-02-13 at 6 08 19 PM


Important

Add support for project-specific .roomodes files, allowing mode configurations to be defined per project with precedence over global settings.

  • Behavior:
    • Add support for project-specific .roomodes files in CustomModesManager.ts.
    • .roomodes takes precedence over global settings when merging modes.
    • Update mode creation and editing in PromptsView.tsx to allow source selection (global or project).
  • Functions:
    • Add getWorkspaceRoomodes(), loadModesFromFile(), mergeCustomModes() in CustomModesManager.ts.
    • Update watchCustomModesFiles() to handle .roomodes changes.
  • Tests:
    • Add tests for .roomodes precedence and error handling in CustomModesManager.test.ts.
  • UI:
    • Update PromptsView.tsx to include source selection for modes.
    • Add CSS variables for VSCode colors in index.css.
  • Misc:
    • Update modes.ts to include source in ModeConfig.

This description was created by Ellipsis for 1b56be0. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Feb 13, 2025

⚠️ No Changeset found

Latest commit: 1b56be0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mrubens mrubens force-pushed the roomodes branch 2 times, most recently from 3bb5258 to 449f9cb Compare February 13, 2025 20:31
@mrubens mrubens force-pushed the roomodes branch 5 times, most recently from 2470c00 to aa18dc9 Compare February 13, 2025 23:06
@mrubens mrubens force-pushed the roomodes branch 3 times, most recently from 521b65c to 9e36809 Compare February 13, 2025 23:14
Copy link
Collaborator

@cte cte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me.

@mrubens mrubens merged commit 998beee into main Feb 14, 2025
6 checks passed
@mrubens mrubens deleted the roomodes branch February 14, 2025 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants